import request from '@/utils/request'

// 查询志愿院校信息列表
export function listVolunteer_college(query) {
  return request({
    url: '/volunteer_college/volunteer_college/list',
    method: 'get',
    params: query
  })
}

// 查询志愿院校信息详细
export function getVolunteer_college(id) {
  return request({
    url: '/volunteer_college/volunteer_college/' + id,
    method: 'get'
  })
}

// 新增志愿院校信息
export function addVolunteer_college(data) {
  return request({
    url: '/volunteer_college/volunteer_college',
    method: 'post',
    data: data
  })
}

// 修改志愿院校信息
export function updateVolunteer_college(data) {
  return request({
    url: '/volunteer_college/volunteer_college',
    method: 'put',
    data: data
  })
}

// 删除志愿院校信息
export function delVolunteer_college(id) {
  return request({
    url: '/volunteer_college/volunteer_college/' + id,
    method: 'delete'
  })
}
